package com.yiyahui.project.erp.service;

import java.util.List;
import com.yiyahui.project.erp.domain.YiyaPlan;

/**
 * 排班Service接口
 * 
 * @author yiyahui
 * @date 2020-05-16
 */
public interface IYiyaPlanService 
{
    /**
     * 查询排班
     * 
     * @param id 排班ID
     * @return 排班
     */
    public YiyaPlan selectYiyaPlanById(Long id);

    /**
     * 查询排班列表
     * 
     * @param yiyaPlan 排班
     * @return 排班集合
     */
    public List<YiyaPlan> selectYiyaPlanList(YiyaPlan yiyaPlan);

    /**
     * 新增排班
     * 
     * @param yiyaPlan 排班
     * @return 结果
     */
    public int insertYiyaPlan(YiyaPlan yiyaPlan);

    /**
     * 修改排班
     * 
     * @param yiyaPlan 排班
     * @return 结果
     */
    public int updateYiyaPlan(YiyaPlan yiyaPlan);

    /**
     * 批量删除排班
     * 
     * @param ids 需要删除的排班ID
     * @return 结果
     */
    public int deleteYiyaPlanByIds(Long[] ids);

    /**
     * 删除排班信息
     * 
     * @param id 排班ID
     * @return 结果
     */
    public int deleteYiyaPlanById(Long id);
}
